package com.deplume.ssm.service.inface.admin;

import com.deplume.ssm.common.Page;
import com.deplume.ssm.pojo.admin.Company;
import com.deplume.ssm.pojo.admin.CompanyDetail;
import com.deplume.ssm.pojo.extra.ChangeStatus;

import java.util.List;

/**
 * Created by libing on 2016/7/26.
 */
public interface ICompanyRelativeService {
    public List<CompanyDetail> returnCompanyInfo() throws Exception;
    public List<CompanyDetail> returnCompanyInfos(Page page)throws Exception;
    public void changeStatus(ChangeStatus changeStatus) throws Exception;
    public List<Company> returnCompanyUsers(Page page) throws Exception;
    public void deleteSelectedItems(Integer[] items_id) throws Exception;
    public void deleteCompanyUserById(Integer id) throws Exception;
    public List<Company> returnCompanyUsersByText(Page page) throws Exception;
    public CompanyDetail selectCompanyDetail(int companyId) throws Exception;
    public int returnCityId(String cityName) throws Exception;
    public void editAllCompanyInfo(Company company)throws Exception;
    public int selectMainIndustryId(String mainIndustryName) throws Exception;
    public int selectCompanySizeId(String companySizeName) throws Exception;
    public int selectCompanyPropertyId(String companyPropertyName)throws Exception;
    public void insertSecIndustry( int companyDetailId, List<String> list)throws Exception;
    public void deleteSecIndustry(int companyDetailId)throws Exception;
    public void updateCompanyDetailInfo(CompanyDetail companyDetail)throws Exception;
    public void updateCompanyHeadImg(CompanyDetail companyDetail) throws Exception;
}
